<template>
  <work-template @closeSelectedTag="closeSelectedTag" :flowId="flowId" :butShow="false">
    <div slot="form">
      <!--基础信息-->
      <basicsInfoMessage v-model="ruleForm"/>
      <!--还车信息-->
      <returnCarMessage v-model="ruleForm"/>
      <!--还车结算-->
      <returnCarSettleMessage v-model="ruleForm" state="readonly"/>
    </div>

  </work-template>
</template>

<script>
export default {
  name: 'ReturnMarginDetails',//查看
  components: {
    //基础信息
    basicsInfoMessage: () => import('./components/basicsInfoMessage.vue'),
    //还车信息
    returnCarMessage: () => import('./components/returnCarMessage.vue'),
    //还车结算
    returnCarSettleMessage: () => import('./components/returnCarSettleMessage.vue'),
  },
  computed: {
    flowId() {
      return ''
    }
  },
  watch: {},
  data() {
    return {
      ruleForm: {}
    };
  },
  created() {
  },
  mounted() {
  },
  methods: {
    closeSelectedTag() {
      this.$tab.closePage().then(({visitedViews}) => {
        this.$router.push({
          path: "/ReturnCar/ReturnMarginList",
        });
      });
    }
  },
};
</script>

<style scoped lang=""></style>


